package com.sws.hmclient.dao;

import com.sws.hmclient.entity.Cpuinfo;
import com.sws.hmclient.entity.Sysinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CpuinfoDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Cpuinfo record);

    int insertSelective(Cpuinfo record);

    Cpuinfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Cpuinfo record);

    int updateByPrimaryKey(Cpuinfo record);

    Cpuinfo selectByIP(@Param("computerIp")String  computerIp);
}
